//
//  main.m
//  MAlatang
//
//  Created by mac on 4/14/16.
//  Copyright (c) 2016 liuchengming. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Lubiantan.h"
int main(int argc, const char * argv[])
{

    @autoreleasepool
    {
        Customer * cust =[[Customer alloc]init];
        Lubiantan * lbt =[[Lubiantan alloc]init];
        cust.delegate=lbt;         //让路边摊成为  这个代理
        [cust comeToRestorant];    //路边摊的已经成为  客户代理  所以直接调用行为
    }
    return 0;
}

